/**
 * Copyright ©2012-2018 HopeHaiyang Corporation, All Rights Reserved
 * http://www.wuhanhope.com
 */
package hope.platform.data.remote;

import hope.platform.data.domain.entiry.HopeException;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

/**
 * class info
 *
 * @author hujia
 *         Create at 2018/7/23 16:25
 */
@FeignClient("site")
public interface ExceptionService {

    @RequestMapping(value = "/exception",method = RequestMethod.POST)
    HopeException addException(@RequestBody HopeException exception);
}
